package com.tedu.checkIn.mapper;

import com.tedu.checkIn.pojo.dto.RecordQuery;
import com.tedu.checkIn.pojo.entity.Record;
import com.tedu.checkIn.pojo.vo.RecordVO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface RecordMapper {
    void insert(Record record);

    void update(Record record);

    List<RecordVO> select(RecordQuery recordQuery);

    void delete(Integer id);
}
